import request from '@/api/request'
import g from "@/utils/utilFn";
export function getlist(param) {
    param = g.objEngraving({
        start: "",
        end: "",
        name: "",
        content: "",
        sql_record: "",
        page: 1,
        limit: 10,
        filed: 'id',
        sort: 'ascending'
    }, param || {})
    let data = new FormData()
    Object.keys(param).map((key) => {
        data.append(key, param[key] || "");
    });
    return request({
        url: '/adm_log/getlist',
        method: 'POST',
        data
    })
}